package com.qf.day02;

import java.util.Scanner;

public class Run {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入成绩");
        double score = scanner.nextDouble();
        if(score<15){
            System.out.println("请输入性别");
            String sex =scanner.next();
            if(sex.equals("男")){
                System.out.println("进入男子决赛");
            }else {
                System.out.println("进入女子决赛");
            }
        }else{
            System.out.println("很遗憾，未计入决赛");
        }


    }
}
